<?php
/* $Id: message.php 47 2011-02-20 17:26:53Z jim2212001@gmail.com $ */
require_once 'config.php';
$msg=array(
	'error'=>'錯誤',
	'info'=>'訊息'
);
if(!array_key_exists($_GET['action'],$msg)){
	errMsg(MSG_UNKNOW_ACTION);
}
if($_GET['action']=='error')
	errMsg($_GET['reason'],0);
else
	infoMsg($_GET['reason'],0);
$tpl->assign('subtitle',$msg[$_GET['action']]);
$tpl->display('blank.htm');
?>
